package org.xxpay.core.service;

import org.xxpay.core.entity.PayInterfaceTypeTemplate;

import java.util.List;

/**
 * @author: xiaoyu
 * @date: 2019/6/20
 * @description: 支付接口类型参数模板表
 */
public interface IPayInterfaceTypeTemplateService {

    int add(PayInterfaceTypeTemplate payInterfaceTypeTemplate);

    int update(PayInterfaceTypeTemplate payInterfaceTypeTemplate);

    PayInterfaceTypeTemplate findById(Long id);

    List<PayInterfaceTypeTemplate> select(int offset, int limit, PayInterfaceTypeTemplate payInterfaceTypeTemplate);

    Integer count(PayInterfaceTypeTemplate payInterfaceTypeTemplate);

    List<PayInterfaceTypeTemplate> selectAll(PayInterfaceTypeTemplate payInterfaceTypeTemplate);

    /** 删除模板信息及关联记录 **/
    int relationDelete(List<Long> ids, boolean isDeleteAlipayCash);

}
